package br.ufpe.cin.tose.copapolling;

import android.os.AsyncTask;

public class ThreadAtualiza extends AsyncTask<String, Void, String> {

	
	protected void onPostExecute(String output) {
		System.out.println("chamou download jogos");
		ThreadAtualiza atualiza = new ThreadAtualiza();
		System.out.println("antes execute thread");
        atualiza.execute();
    }

	@Override
	protected String doInBackground(String... params) {
		
		System.out.println("entrou background thread");
		
		try {
			Thread.sleep(60000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		
		
		return null;
	}

}
